package com.sysu.homework.DAO;

import java.util.List;

import com.sysu.homework.model.Group;
import com.sysu.homework.model.Student;


public interface StudentDAO {
	int save(Student student);
	boolean isExist(int studentId);
	int getGroupId(int studentId);
	Student getStudentById(int studentId);
	boolean isValid(int id,String password);
	int getCourseId(int studentId);
	int saveGroup(Group group);
	int updateStudent(Student student);
	List<Group> getAllGroups();
	
	
}
